package com.cn.longdistancebusstation.model;

import com.cn.longdistancebusstation.annotation.PrivilegeStatus;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by mal on 2018/3/8.
 */

public class Privilege implements Serializable {
    @Expose private String id;
    @Expose private String startDate;
    @SerializedName("effectiveTime")
    @Expose private int validDays;
    @Expose private int status;
    private @PrivilegeStatus int privilegeStatus;
    @SerializedName("coupon")
    @Expose private String discount;
    private Boolean isChoose;
    @SerializedName("remark")
    @Expose private String desc;


    public Privilege() {
        id = "";
        startDate = "";
        validDays = 0;
        status = 0;
        privilegeStatus = PrivilegeStatus.PRIVILEGE_STATUS_UNUSE;
        discount = "0";
        isChoose = false;
        desc = "";
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public int getValidDays() {
        return validDays;
    }

    public void setValidDays(int validDays) {
        this.validDays = validDays;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getPrivilegeStatus() {
        return privilegeStatus;
    }

    public void setPrivilegeStatus(int privilegeStatus) {
        this.privilegeStatus = privilegeStatus;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public Boolean getChoose() {
        return isChoose;
    }

    public void setChoose(Boolean choose) {
        isChoose = choose;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
